package com.aizuda.boot.modules.business.negotiation.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @Author sangyirong
 * @ClassName NegotiationShowListDTO
 * @Version 1.0
 * @Date 2025/6/28 14:58
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "合同协商列表展示")
public class NegotiationShowListDTO {

    @Schema(description = "合同协商配置ID")
    private Long id;

    @Schema(description = "协商配置名称")
    private String negotiationName;

    @Schema(description = "适用范围")
    private List<String> department;

    @Schema(description = "流程定义ID")
    private Long processId;

    @Schema(description = "流程定义KEY")
    private String processKey;

    @Schema(description = "流程定义名称")
    private String processName;

    @Schema(description = "是否启用")
    private Boolean isEnabled;

    @Schema(description = "是否发布")
    private Boolean isPublished;

    @Schema(description = "合同类型")
    private List<String> scope;

    @Schema(description = "优先级")
    private Integer priority;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Schema(description = "修改时间")
    private Date updateTime;

    @Schema(description = "系统租户")
    private String sysTenantKey;

    @Schema(description = "租户名称")
    private String tenantName;
}
